﻿namespace Proxy
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "Proxy.ISECanal")]
    public interface ISECanal
    {

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISECanal/ListarCanal", ReplyAction = "http://tempuri.org/ISECanal/ListarCanalResponse")]
        Canal[] ListarCanal();

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISECanal/InsertarCanal", ReplyAction = "http://tempuri.org/ISECanal/InsertarCanalResponse")]
        int InsertarCanal(Canal canal);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISECanal/ModificarCanal", ReplyAction = "http://tempuri.org/ISECanal/ModificarCanalResponse")]
        void ModificarCanal(Canal canal);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISECanal/EliminarCanal", ReplyAction = "http://tempuri.org/ISECanal/EliminarCanalResponse")]
        void EliminarCanal(int codigoCanal);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISECanal/BuscarCanal", ReplyAction = "http://tempuri.org/ISECanal/BuscarCanalResponse")]
        buscarCanales_Result[] BuscarCanal(int anio, int codigoZona, int estado, string mes);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISECanal/ObtenerCanal", ReplyAction = "http://tempuri.org/ISECanal/ObtenerCanalResponse")]
        Canal ObtenerCanal(int codigoCanal);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISECanal/GenerarCodigoCanal", ReplyAction = "http://tempuri.org/ISECanal/GenerarCodigoCanalResponse")]
        int GenerarCodigoCanal();

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISECanal/ListarCanalPorNombre", ReplyAction = "http://tempuri.org/ISECanal/ListarCanalPorNombreResponse")]
        Canal[] ListarCanalPorNombre(string nombreCAN);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISECanal/VerificarExisteCanal", ReplyAction = "http://tempuri.org/ISECanal/VerificarExisteCanalResponse")]
        bool VerificarExisteCanal(string nombreCAN);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISECanal/GenerarNombreCanal", ReplyAction = "http://tempuri.org/ISECanal/GenerarNombreCanalResponse")]
        string GenerarNombreCanal(int anio);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISECanal/ActualizarUbicacionCanal", ReplyAction = "http://tempuri.org/ISECanal/ActualizarUbicacionCanalResponse")]
        void ActualizarUbicacionCanal(Canal canal);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISECanal/FinalizarCanal", ReplyAction = "http://tempuri.org/ISECanal/FinalizarCanalResponse")]
        string FinalizarCanal(int[] codigoCanales);
    }

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ISECanalChannel : ISECanal, System.ServiceModel.IClientChannel
    {
    }

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SECanalClient : System.ServiceModel.ClientBase<ISECanal>, ISECanal
    {

        public SECanalClient()
        {
        }

        public SECanalClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public SECanalClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SECanalClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SECanalClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public Canal[] ListarCanal()
        {
            return base.Channel.ListarCanal();
        }

        public int InsertarCanal(Canal canal)
        {
            return base.Channel.InsertarCanal(canal);
        }

        public void ModificarCanal(Canal canal)
        {
            base.Channel.ModificarCanal(canal);
        }

        public void EliminarCanal(int codigoCanal)
        {
            base.Channel.EliminarCanal(codigoCanal);
        }

        public buscarCanales_Result[] BuscarCanal(int anio, int codigoZona, int estado, string mes)
        {
            return base.Channel.BuscarCanal(anio, codigoZona, estado, mes);
        }

        public Canal ObtenerCanal(int codigoCanal)
        {
            return base.Channel.ObtenerCanal(codigoCanal);
        }

        public int GenerarCodigoCanal()
        {
            return base.Channel.GenerarCodigoCanal();
        }

        public Canal[] ListarCanalPorNombre(string nombreCAN)
        {
            return base.Channel.ListarCanalPorNombre(nombreCAN);
        }

        public bool VerificarExisteCanal(string nombreCAN)
        {
            return base.Channel.VerificarExisteCanal(nombreCAN);
        }

        public string GenerarNombreCanal(int anio)
        {
            return base.Channel.GenerarNombreCanal(anio);
        }

        public void ActualizarUbicacionCanal(Canal canal)
        {
            base.Channel.ActualizarUbicacionCanal(canal);
        }

        public string FinalizarCanal(int[] codigoCanales)
        {
            return base.Channel.FinalizarCanal(codigoCanales);
        }
    }

}